package com.neu.smty.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.neu.common.annotation.Excel;
import com.neu.common.core.domain.BaseEntity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 医生管理对象 doctor
 *
 * @author liningning
 * @date 2025-09-29
 */
@ApiModel("医生管理")
public class Doctor extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 医生ID */
    @ApiModelProperty("医生ID")
    private Long doctorId;

    /** 医生姓名 */
    @ApiModelProperty("医生姓名")
    @Excel(name = "医生姓名")
    private String doctorName;

    /** 性别 (0-未知, 1-男, 2-女) */
    @ApiModelProperty("性别 (0-未知, 1-男, 2-女)")
    @Excel(name = "性别 (0-未知, 1-男, 2-女)")
    private Integer gender;

    /** 医生职称 */
    @ApiModelProperty("医生职称")
    @Excel(name = "医生职称")
    private String title;

    /** 所属科室ID */
    @ApiModelProperty("所属科室ID")
    @Excel(name = "所属科室ID")
    private Long departmentId;

    /** 医生联系电话 */
    @ApiModelProperty("医生联系电话")
    @Excel(name = "医生联系电话")
    private String phone;

    /** 医生简介 */
    @ApiModelProperty("医生简介")
    @Excel(name = "医生简介")
    private String doctorBrief;

    /** 医生照片路径 */
    @ApiModelProperty("医生照片路径")
    @Excel(name = "医生照片路径")
    private String doctorPhoto;

    /** 是否推荐（0-不推荐，1-推荐） */
    @ApiModelProperty("是否推荐（0-不推荐，1-推荐）")
    @Excel(name = "是否推荐（0-不推荐，1-推荐）")
    private Integer recommend;

    public void setDoctorId(Long doctorId)
    {
        this.doctorId = doctorId;
    }

    public Long getDoctorId()
    {
        return doctorId;
    }

    public void setDoctorName(String doctorName)
    {
        this.doctorName = doctorName;
    }

    public String getDoctorName()
    {
        return doctorName;
    }

    public void setGender(Integer gender)
    {
        this.gender = gender;
    }

    public Integer getGender()
    {
        return gender;
    }

    public void setTitle(String title)
    {
        this.title = title;
    }

    public String getTitle()
    {
        return title;
    }

    public void setDepartmentId(Long departmentId)
    {
        this.departmentId = departmentId;
    }

    public Long getDepartmentId()
    {
        return departmentId;
    }

    public void setPhone(String phone)
    {
        this.phone = phone;
    }

    public String getPhone()
    {
        return phone;
    }

    public void setDoctorBrief(String doctorBrief)
    {
        this.doctorBrief = doctorBrief;
    }

    public String getDoctorBrief()
    {
        return doctorBrief;
    }

    public void setDoctorPhoto(String doctorPhoto)
    {
        this.doctorPhoto = doctorPhoto;
    }

    public String getDoctorPhoto()
    {
        return doctorPhoto;
    }

    public Integer getRecommend() {
        return recommend;
    }

    public void setRecommend(Integer recommend) {
        this.recommend = recommend;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("doctorId", getDoctorId())
                .append("doctorName", getDoctorName())
                .append("gender", getGender())
                .append("title", getTitle())
                .append("departmentId", getDepartmentId())
                .append("phone", getPhone())
                .append("doctorBrief", getDoctorBrief())
                .append("doctorPhoto", getDoctorPhoto())
                .append("recommend", getRecommend())
                .toString();
    }
}
